package com.bosssoft.user.permission.center.serve.pojo.query;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @className: LoginQuery
 * @description: 保存登录信息的查询体
 * @author: lanyukai
 * @date: 2024/6/11 17:45
 * @since 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("登录验证的表单")
public class LoginQuery {
    /**
     * 用户工号
     */
    @NotNull(message = "工号不可为空")
    private String code;
    /**
     * 用户密码
     */
    @NotNull(message = "密码不可为空")
    private String password;
    /**
     * 租户账号
     */
    @NotNull(message = "租户账号不可为空")
    private String tenantCode;
}
